function TorrentItem(name, server, id) {
	this.name = name;
	this.server = server;
	this.id = id;
	this.status = "";
	this.progress = 0;
	this.eta = "";
	this.down = 0;
	this.up = 0;
	this.size = 0;
	this.sizeu = "";
	this.sized = function() {
		return (size * (progress / 100));
	}
}
function DataItem(id, label, mode) {
	this.id = id;
	this.label = label;
	if (mode == "normal") {
		this.mode = "normal";
	}
}

